package com.itheima.practice.demo02;

import java.util.concurrent.Callable;

public class MyCallable implements Callable {
    @Override
    public Object call() throws Exception {
        for (int i = 0; i < 100; i++) {
            Thread.sleep(10);
            System.out.println(Thread.currentThread().getName() + i);
        }
        return "程序执行完了！";
    }
}
